// ImageData.h : Declaration of the CImageData

#pragma once

// code generated on 10 May 2007, 15:02

class CImageData : public CRecordset
{
public:
	CImageData(CDatabase* pDatabase = NULL);
	DECLARE_DYNAMIC(CImageData)

// Field/Param Data

// The string types below (if present) reflect the actual data type of the
// database field - CStringA for ANSI datatypes and CStringW for Unicode
// datatypes. This is to prevent the ODBC driver from performing potentially
// unnecessary conversions.  If you wish, you may change these members to
// CString types and the ODBC driver will perform all necessary conversions.
// (Note: You must use an ODBC driver version that is version 3.5 or greater
// to support both Unicode and these conversions).

	CStringA	m_ImageName;
	CStringA	m_PaperID;
	CStringA	m_Caption;
	CStringA	m_Reference;
	CStringA	m_Title;
	CStringA	m_Fulltext1;
	CStringA	m_Fulltext2;
	CStringA	m_Fulltext3;
	CStringA	m_Fulltext4;
	CStringA	m_Journal;
	CStringA	m_Authors;
	long	m_Year;
	CStringA	m_ColourFeature;
	CStringA	m_ShapeFeature;
	CStringA	m_TextureFeature;
	CStringA	m_TextFeatureCaption;
	CStringA	m_TextFeatureReference;
	CLongBinary	m_ImageContent;
	CStringA	m_FileFormat;
	BOOL	m_IsCutted;
	BOOL	m_IsTraining;

// Overrides
	// Wizard generated virtual function overrides
	public:
	virtual CString GetDefaultConnect();	// Default connection string

	virtual CString GetDefaultSQL(); 	// default SQL for Recordset
	virtual void DoFieldExchange(CFieldExchange* pFX);	// RFX support

// Implementation
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

};


